#ifndef CMESSAGEBOX_H_INCLUDED
#define CMESSAGEBOX_H_INCLUDED

/**
 *
 * \file CMessageBox.h
 * \brief This file contains the CMessageBox class declaration.
 * \author Vladimir Klubkov (aka marked)
 *
 * Last changes date:
 * \date 15.03.2011
 *
 * Copyright 2011 Vladimir Klubkov <marked-one@yandex.ru>
 *
 * This file is part of OOXlib.
 *
 * OOXLib is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 *
 * OOXlib is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with OOXlib; if not, you can try to find  it here:
 * http://www.gnu.org/licenses/gpl.txt
 * or write to the Free Software Foundation, Inc., 59 Temple Place,
 * Suite 330, Boston, MA  02111-1307  USA
 *
 */

#include "CMessageBoxWindow.h"

namespace OOXlib {

/**
 * \enum OOXLIB_MESSAGEBOX_TYPE
 * Message box type.
 */
typedef enum {
    /// Error messagebox.
    OOXLIB_MESSAGEBOX_ERROR = 0,
    /// Warning messagebox.
    OOXLIB_MESSAGEBOX_WARNING = 1
} OOXLIB_MESSAGEBOX_TYPE;

/**
 * \class CMessageBox
 * Message box window class.
 */
// \todo (marked#1#): Create the CTheme class, which will represent the current app theme - background and text colors, offsets, pictures (stored in resource folder). Data must be read from the *.ooxtheme file. Pointer to object of CTheme class must be specified as a a parameter to window and widget classes, instead of colors and offsets
class CMessageBox {
public:
    CMessageBox(const CXServerConnection *pXServerConnection, const CScreen *pScreen, const ::std::string &WindowName, const ::std::string &MessageText, const OOXLIB_MESSAGEBOX_TYPE &Type,
                const CColor *pBackgroundColor, const CColor *pTextColor, const unsigned int iHorizontalOffset, const unsigned int iVerticalOffset);
};

} // OOXlib

#endif // CMESSAGEBOX_H_INCLUDED
